package wetalk.software.bupt.com.wetalk.model.po;

import android.content.Context;

import com.a.a.V;

import org.json.JSONException;
import org.json.JSONObject;

import java.util.HashMap;
import java.util.Iterator;

import cn.bmob.v3.a.a.This;
import cn.bmob.v3.a.a.thing;
import cn.bmob.v3.listener.UpdateListener;
import cn.bmob.v3.listener.XListener;

/**
 * Created by zhangjie on 2017/12/6.
 */

public class ChatUser extends User {
    private static final long serialVersionUID = 1L;
    private String nick;//昵称
    private String avatar;//头像信息
    private Relation contacts;//好友联系人

    public ChatUser(){

    }

    public ChatUser(String userid, String username, String password, String avatar, String department
            , String phone, String email) {
        super(userid, username, password, avatar, department, phone, email);
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }


    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Relation getContacts() {
        return contacts;
    }

    public void setContacts(Relation contacts) {
        this.contacts = contacts;
    }
}
